export default class Businesstype {
  static list (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/work/report/receivedPage', 'get', params, axiosOption, httpOption);
  }
  static add (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/work/report/add', 'post', params, axiosOption, httpOption);
  }
  static update (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/work/report/update', 'post', params, axiosOption, httpOption);
  }
  static detail (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/work/report/view', 'post', params, axiosOption, httpOption);
  }
  static delete (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/work/report/delete', 'post', params, axiosOption, httpOption);
  }
  static read (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/work/report/read', 'post', params, axiosOption, httpOption);
  }
  static log (sender, axiosOption, httpOption) {
    return sender.doUrl('admin/work/report/log', 'post', axiosOption, httpOption);
  }
  static myPage (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/work/report/myPage', 'get', params, axiosOption, httpOption);
  }
  static receivedCount (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/work/report/receivedCount', 'get', params, axiosOption, httpOption);
  }
  static getMessageCount (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/flow/flowMessage/getMessageCount', 'get', params, axiosOption, httpOption);
  }
  static getAgendaCount (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/flow/flowOperation/listRuntimeTask', 'post', params, axiosOption, httpOption);
  }
}
